﻿function StraightMover()
{
	this.Update = Update;
}

function Update(timestep)
{
	for(var i = 0; i < actors.length; i++)
	{
		agent = actors[i];
		params = agent.ActorParams;
		params.x += Math.cos(params.velocityAngle) *params.velocityRadius * timestep;
		params.y += Math.sin(params.velocityAngle) *params.velocityRadius * timestep;
		
	}	
};